package com.huawei.appgallery.datastorage.database.impl.process;

import android.content.ContentValues;
import android.database.Cursor;
import java.lang.reflect.Field;
import o.blw;
import o.bmc;
import o.bmg;

public final class StringProcess implements bmc<String> {
    public /* synthetic */ void ˋ(ContentValues contentValues, String str, Object obj) {
        ˏ(contentValues, str, (String) obj);
    }

    public String ˊ() {
        return "TEXT";
    }

    public void ˏ(ContentValues contentValues, String str, String str2) {
        contentValues.put(str, str2);
    }

    public void ˎ(blw o_blw, Field field, Cursor cursor, int i) {
        try {
            field.set(o_blw, cursor.getString(i));
        } catch (IllegalAccessException e) {
            bmg.ˊ.ˏ("StringProcess", "put value failed:IllegalAccessException:" + o_blw.getClass().getSimpleName());
        } catch (Exception e2) {
            bmg.ˊ.ˏ("StringProcess", "put value failed:Exception:" + o_blw.getClass().getSimpleName());
        }
    }
}
